package com.yxkj.syh.app.huarong.api;

import java.util.Map;

import io.reactivex.Observable;
import okhttp3.ResponseBody;
import retrofit2.http.Body;
import retrofit2.http.POST;

/**
 * 创建者：SYH
 * 时间：2020/5/22 13:35
 * 编辑者：SYH、
 * 标签：
 * 补充说明：
 */
public interface AuthApi {

    @POST("api/huarong/auth/login")
    Observable<ResponseBody> login(@Body Map<String, Object> pMap);

    @POST("api/register/code")
    Observable<ResponseBody> verCode( @Body Map<String, Object> pMap);

    @POST("api/huarong/auth/logout")
    Observable<ResponseBody> logout();

    @POST("api/identification/apply")
    Observable<ResponseBody> commitAuthData(@Body Map<String, Object>  supplierAuth);

    @POST("api/identification/detail")
    Observable<ResponseBody> authInfo();

}
